#!/usr/bin/bash

[[ ! -d /opt/google ]] && mkdir /opt/google
if [ -d /opt/google ];then
	tar xvf staff/opt-google.tar.xz -C /opt/google
fi
if [[ -d /lib/firmware ]];then
	mv /lib/firmware /opt/firmware.bak
	tar xvf staff/firmware.tar.xz -C /lib/
fi

cp modprobe/modprobe-blacklist.conf /etc/modprobe.d/blacklist.conf
